
#ifndef   __PIN_OUTPUTS__
#define   __PIN_OUTPUTS__

#include	"outp_drv.h"

#define   OUT_RELAY_1		OUTP_1
#define   OUT_RELAY_2		OUTP_2	
#define   OUT_RELAY_3		OUTP_3
#define   OUT_RELAY_4		OUTP_4

#define   STATUS_LED			OUTP_5

/* change pins for 'new isd header relay v1.0' 19.04.2012 */
#define   OUT_RELAY_1A		OUTP_6
#define   OUT_RELAY_2A		OUTP_7	
#define   OUT_RELAY_3A		OUTP_8

#define   OUT_LED_1			OUTP_9
#define   OUT_LED_2			OUTP_10	
#define   OUT_LED_3			OUTP_11




#define   OUTP_SET(out_name, timeout)			OutSet(out_name, (timeout ? 0x3FF : 0xFFFFFFFF), (timeout*100), 11) /*  */
#define   OUTP_RESET(out_name)					OutReset(out_name)
#define   OUTP_READ(out_name)						OutRead(out_name)


#define   STATUS_MODEM_NO_REG						0x0F0F0F0F   
#define   STATUS_MODEM_REG_OK						0x1

//#define   STATUS_INDICATION(status)						OutSet(STATUS_LED,  status, 125, 0xFFFFFFFF) /*  */
#define   STATUS_INDICATION(status)						OutSet(STATUS_LED,  status, 125, -1) /*  */

#endif


